import styled from "styled-components";

export const SongsCoverStyled=styled.div`
  width: 140px;
  margin: 20px auto;
  .songs_cover{
    display: block;
    width: 140px;
    height: 140px;
    
  }
  .cover_top{
    display: flex;
    position: relative;
    flex-direction: column;
    width: 140px;
    height: 140px;
  }
  .cover_top_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("https://oss.yhuayi.com/wangyiyun/image/coverall.png") no-repeat;
    z-index: 10;
  }
  .songs_cover img{
    width: 140px;
    height: 140px;
  }
  .cover_bofang{
    display: flex;
    z-index: 10;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: 30px;
    line-height: 30px;
    left: 0;
    bottom: -3px;
    background-image: url("https://oss.yhuayi.com/wangyiyun/image/coverall.png");
    background-position: 0 -537px;
    font-family: icomoon;
    font-size: 14px;
    color: #ccc;
    padding: 0 5px;
    
  }
  .cover_bofang_left{
    cursor: default;
  }
  .cover_bofang_right{
    font-size: 17px;
    cursor: pointer;
  }
  .cover_bofang_right:hover{
    color: #ffffff;
  }
  
  
  
  .cover_bottom{
    margin-top: 5px;
    width: 100%;
    height: 60px;
    color: black;
  }
  .cover_bottom_a{
    width: 100%;
    height: 60px;
    color: black;
    background: rgba(0,0,0,0);
  }
  .cover_bottom_a:hover{
    text-decoration: underline;
  }

  .cover_sub{
    height: 20px;
  }
  .cover_sub:hover p{
    display: none;
  }
  .cover_sub:hover button{
    display: block;
  }
  
  .cover_sub p{
    width: 100%;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #666666;
  }
  .cover_sub p:hover{
    text-decoration: underline;
  }
  .cover_sub button{
    display: none;
    margin: 0 auto;
    padding: 2px 4px;
    color: #666666;
    font-size: 14px;
  }
  
  
`
